import express from 'express';
import { analyzeTextEmotion } from '../controllers/emotionController';
import { generateBackgroundImage } from '../controllers/imageController';

const router = express.Router();

// 情绪分析接口
router.post('/emotion', analyzeTextEmotion);

// 背景图片生成接口
router.post('/generate-image', generateBackgroundImage);

export default router;